package com.julian.orderPattern;

/**
 * 音响类
 */
public class Stereo {
    public void on(){
        System.out.println("Stereo is on");
    }
    public void setCD(){
        System.out.println("CD is Playing");
    }
    public void setVolumn(int volumn){
        System.out.println("volumn is "+ volumn);
    }

    public void off(){
        System.out.println("Stereo is off");
    }
}
